import { api } from './api';
import { get, post, del, resolve } from '../ajax';
import axios from 'axios';
import {configUrl} from '../config';

const actions = {
   //获取JS签名算法
  getJsSdkInitParam ({commit, state}, param) {
    return get(configUrl.baseUrl, api.getJsSdkInitParam, param)
      .then((rep) => {
        //if (rep.status === 200) {
        //  var data = rep.data;
        //}
        return resolve(rep);
      });
  },
};
export default actions;
